package com.kedacom.ctsp.authority.service.simple.strategy;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import static com.kedacom.ctsp.web.service.StatusEnum.DISABLE;
import static com.kedacom.ctsp.web.service.StatusEnum.ENABLE;

@Slf4j
@Component
public class ResourceDisableStrategy extends ResourceChangeStrategy {

    @Override
    protected Integer getQueryStatus() {
        return ENABLE.ordinal();
    }

    @Override
    protected Integer getUpdateStatus() {
        return DISABLE.ordinal();
    }
}
